from flask import Blueprint
from app.api.v1 import user,book,client

def create_buleprint_v1():
    bp_v1=Blueprint('v1',__name__)

    #红图api注册到蓝图bp_v1
    # url   /v1/user/   /user 拆到红图
    user.api.register(bp_v1)
    book.api.register(bp_v1)
    #client.api.register(bp_v1)
    return bp_v1